﻿using System;

namespace enyo
{
    /// <summary>
    /// A special Dialog designed to prompt the user to answer a question affirmatively or negatively. It displays a title and message, along with accept and cancel buttons.
    /// The title, message, acceptButtonCaption, and cancelButtonCaption can all be set as needed.
    /// The onAccept and onCancel events are fired when the user clicks the accept and cancel buttons, respectively.
    /// </summary>
    public class DialogPrompt : Dialog
    {
        public string Title { get; set; }
        public string Message { get; set; }
        public string AcceptButtonCaption { get; set; }
        public string CancelButtonCaption { get; set; }

        public EnyoEvent<Control> onAccept;
        public EnyoEvent<Control> onCancel;

        public void Open(string title, string message, string acceptButtonCaption, string cancelButtonCaption)
        {
        }
    }
}
